﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WMM.Tapioca.XbrlDimension
{
    /// <summary>
    /// The relationship arc role http://xbrl.org/int/dim/arcrole/dimension-domain. 
    /// </summary>
    public class DimensionDomain : DRSRelationship
    {
        private Dimension dimension;

        /// <returns> the dimension of this relationship (source). </returns>
        public Dimension Dimension
        {
            get { return dimension; }
            set { dimension = value; }
        }

        private Domain domain;

        /// <returns> the domain of this relationship (target). </returns>
        public Domain Domain
        {
            get { return domain; }
            set { domain = value; }
        }

        private bool usable;

        /// <returns> usable of this hypercube. </returns>
        public bool Usable
        {
            get { return usable; }
            set { usable = value; }
        }

        /// <summary>
        /// DimensionDomain constructor.
        /// </summary>
        public DimensionDomain()
        {
            //domains = new List<Domain>();
        }
    }
}
